package com.exonline.back.controller.notify;

import lombok.SneakyThrows;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
/**
 * @desc 获取支付宝支付回调结果
 * @author hbrj
 */
@WebServlet("/admin/paynotify")
public class NotifyServlet extends HttpServlet {
NotifyService service = new NotifyService();
    @SneakyThrows
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        service.doNotify(req);
    }
}
